package com.peanut.service;

import com.peanut.model.User;

import java.util.List;

public interface UserService {
    User getUserById(Integer id);

    User addUser(User user);

    User delById(Integer id);

    User update(User user);

    List<User> list();

}
